import request from '/@/utils/request'

export interface GetWarehouseSummaryInput {
  startTime?: string
  endTime?: string
  warehouseName?: string
  goodsOrCategory?: string
  page?: number
  pageSize?: number
}

export function fetchCkhzPage(data: GetWarehouseSummaryInput) {
  return request.post('/api/report/warehouseSummary/page', data)
}

export function fetchCkhzChart(data: GetWarehouseSummaryInput) {
  return request.post('/api/report/warehouseSummary/chart', data)
}


